import request from '@/utils/request'

// 申请退款
export function requestRefund(params) {
  return request({
    url: '/api/refund/apply',
    method: 'post',
    params: params
  })
}

// 查询退款状态
export function getRefundStatus(refundId) {
  return request({
    url: '/api/refund/status',
    method: 'get',
    params: { refundId }
  })
}
